>>>>> "Nils" == Nils Frostberg <nils@stripped> writes:
Nils> We have had a problem with MyODBC for a while. We are using MyODBC with
Nils> Apache webserver.
>> From version 20 of MyODBC and forward the webserver have been restarting by
Nils> itself, over and over again, but version 19 and earlier worked fine.
Nils> I downloaded MyODBC source distribution of version 24, and traced it and
Nils> then I found a nasty "__asm int 3;" in this function:
Nils> static void my_win_init(void)
Nils> HKEY hSoftMysql ;
Nils> DWORD dimName = 256 ;
Nils> DWORD dimData = 1024 ;
Nils> DWORD dimNameValueBuffer = 256 ;
Nils> DWORD dimDataValueBuffer = 1024 ;
Nils> DWORD indexValue = 0 ;
Nils> long retCodeEnumValue ;
Nils> char NameValueBuffer ;
Nils> char DataValueBuffer ;
Nils> char EnvString ;
Nils> const char *targetKey = "Software\\MySQL" ;
Nils> __asm int 3;
Ouch; It looks like another bug in Microsofts VC++ compiler :(
I will shortly make a new MyODBC version and I will check this when I
Nils> There is though an other problem which I havent solved yet. When I compile
Nils> the 24
Nils> version in my Visual Studio 6.0 Release, I can't open the ODBC source from
Nils> It works fine if I compile it with Debug mode.
Sorry, no clues :( Does it work for you with admndemo.exe in both
cases? If yes, it looks like some weird bug in VB.