Home
Top.Mail.Ru Yandeks.Metrika
Forum: "WinAPI";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Problem with Dll Find similar branches


Zabl   (2001-11-01 13:15) [0]

The problem is this: I'm trying to dynamically load the dll
The example is taken from http://delphi.mastak.ru/articles/usedll/index.html, but I also tried it from helpa delphi - the example is approximately the same: the parameter in the dll is not transmitted, but after FreeLibrary it exited dll loading occurs Access violation. All this in delphi 5 Update Pack 1.
Can someone give how to fight?



McSimm   (2001-11-01 13:48) [1]

Check: call conventions must be the same (stdcall, cdecl, etc.)



Zabl   (2001-11-01 14:27) [2]

Thank you earned!
The whole garbage was that stdcall needed to be written not only in the dll, but also when describing a procedural variable.
For some reason this is not in that ten examples which I found in a network and in Delphi Help !!!



Pages: 1 whole branch

Forum: "WinAPI";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.55 MB
Time: 0.182 c
1 - 22219
dimonf
2001-12-16 17:23
2002.01.08
How to make a Canvas drawn when any window passes with a window


1 - 22113
Yuraz
2001-12-19 20:25
2002.01.08
Brothers why


6 - 22308
Igor
2001-10-14 09:44
2002.01.08
Data exchange between client and server in Delphi


1 - 22087
Serg5
2001-12-19 15:14
2002.01.08
People, quite an easy question! Link to the procedure in one word.


3 - 21950
Hermit
2001-12-05 11:38
2002.01.08
Implicitly Started Transactions





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish