I think delphi will help you a lot. 1.- One of the fastest RAD 2.- Win32 3.- Support Web Services, xml, etc. a lot of components included. cons: Pascal :doh:
NMiceli
Posts
-
Development platform decision -
Asp.net 2.0 cookieless="usecookies" not working10x i have found why i was having this problem, i found the answer here http://www.eggheadcafe.com/articles/20021016.asp[^] Q: Why does the SessionID changes in every request? A: This may happen if your application has never stored anything in the session state. In this case, a new session state (with a new ID) is created in every request, but is never saved because it contains nothing. Regards.
-
Asp.net 2.0 cookieless="usecookies" not workingHello, i need some help please to solve this problem; i'm migrating to asp.net 2.0 and i'm having problems with session states more specific if i set the web.config sessionstate to cookieless="usecookies" sessionid is lost after every postback but if the cookieless is set to useuri it isn't. Is there any special setting that i need to change? I have tried with xp pro,w2003 with same result. Here is my web.config
<configuration> <appSettings/> <connectionStrings/> <system.web> <compilation debug="true"/> <authentication mode="Windows"/> <sessionState mode="InProc" cookieless ="UseCookies" timeout="30"></sessionState> </system.web> </configuration>
Regards. -- modified at 22:19 Saturday 11th March, 2006 -
application too slowHello, i need help to find out why an asp.net application becomes too slow in when i have about 80 users online. How can i measure performance? I use asp.net/sql server/crystal reports ent. running in a 2mb e1 with web server 2x xeon 3ghz 1gb ram 300gb raid scsi 10k and db server 2x xeon 2.8ghz 2gb ram 400gb raid scsi 10k. the asp.net process never goes more than 260mb of memory usage and cpu is at 8%-10%. I get 1 daily error "not enough memory on the server" in crystal reports. Thanks.
-
Set Password on sqlclientHello, Is there any way to manipulate the password on a sqlclient connection? something like save the connection string in a config file and set the password later in the code, which will be read from an encrypted string. I don't want to use Windows Security because i don't know where the server will be and what clients will connect or if they are on a workgroup or domain. Any ideas will be appreciated. Thanks.
-
memory allocation in dllHi Chris, no it doesn't, i was trying to with HeapAlloc, but both after i call FreeLibrary(dll) i get a value. By the way, why it works in debug mode? anybody can give me links of dll tutorials/guides please. Best Regards
-
memory allocation in dllHello. my problem is that i'm loading a dll to extract some data but it gets lost when i unload the library, i have the following struct
struct tagPLUGIN{ PCHAR Name; PCHAR FileName; UINT Category; UINT Vital; ULONG Id; UINT isUI; };
and from my main exe i just load the library, get the proccess address and call a dll function to fill the structure// CODE IN DLL extern "C" __declspec(dllexport) void GetPlugInfo (tagPLUGIN *plugin) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); //plugin.FileName="" plugin->Category=TOOL; plugin->Id=0; plugin->isUI=TRUE; plugin->Name=new char[25]; strcpy(plugin->Name,"Configuración de Sistema\0"); plugin->Vital=FALSE; }
loading the dlltagPLUGIN plugin; typedef void (*GetPlugInfo)(tagPLUGIN *info); HMODULE dll=LoadLibrary(tmp_string); GetPlugInfo getPlugInfo = (GetPlugInfo)GetProcAddress(dll,"GetPlugInfo"); (getPlugInfo)(&plugin); plugin.Id=ID++; plugin.FileName=new char[tmp_string.GetLength()+1]; strcpy(plugin.FileName,tmp_string.GetBuffer()); FreeLibrary(dll);
but right after FreeLibrary(dll) my two PCHAR values are corrupt, i know the problem is in thenew char[size]
, so how can i pass a PCHAR to a dll function and allocate and assign a string without loosing it after freelibrary? -
Could not delete from specified tablesHi. i'm working in an ADO App that uses Access and/or MSSQL Server 2000 and my problem is that when i Execute in the Connection the following: DELETE x.* FROM [ODBC;DRIVER={SQL Server};UID=USER; PWD=PASSWORD;DATABASE=WORKING_DB;APP=Microsoft Data Access Components;SERVER=CONTROL02;Description=SQLServer].test_table01 x WHERE clave like '_017%' i get an error "could not delete from specified tables". notes: needs to be with odbc. I didn't made the database. I tried using different user accounts. Tried trusted connection my permissions all to read write with and without alias to x.*, and removed the * my connection string: Provider=Microsoft.Jet.OLEDB.4.0; Password=PPP;User ID=UUU;Data Source=XXX;Mode=Share Deny None;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False even in Access it won't work. what i'm doing wrong?
-
Mix VC++ and DelphiHello i'm starting a project with a friend who work with delphi 7, and i don't know how difficult could it be to mix two languages; we decided to use dlls and a semi plugin framework to work, but for example: the way delphi data access is (at least for me) too much diferent; can i make classes in C++/MFC and use in delphi or viceversa?, could i make controls in delphi to use with C++/MFC?, etc. Thanks in advance, i'll appreciate all your comments on this.
-
CDialog & Free MemoryHi. My problem is if my program is using 10,000kb then i load a catalog in CDialog
OnBnClickedC() { CatDlg dlg; dlg.DoModal(); }
memory raises 18,000kb and when i close de dialog it returns to between 12,000 and 13,000kb why? how should i release the dialog? i tried with new and delete with the same results. Please help me. Update: i see that when i load the dialog, a lot of dlls load with it, but all dlls unload only when i exit the application not when i quit the dialog. Why? -
CString performancei use CString to much i think, i've seen many people uses LPCSTR am i losing much by using CString?
-
double and float problemlot of interesting readings Then i found it! COleCurrency is all i need Thanks to all
-
double and float problemHi. my problem:
double a=98; double b=100; double c=98/100; //then c=0.9799999999998 instead 0.98
and why in delphi, vb, etc. i got the 0.98 but not in c++. I even tried the /Op compiler setting and nothing. I have readed the microsoft workaround of adding 1e-10 but does not work. What should i do?. Thanks in advance. -
Windows HooksHi, I updated from Intellipoint 4.1 to 5.0 but since i don't have the Explore My Computer option for a mouse button assignment i decided to buid my own using the WindowsHookEx and the WH_GETMESSAGE or the WH_MOUSE_LL type for the WM_XBUTTONDOWN and MK_XBUTTON1 to open windows explorer sending the WM_HOTKEY to the Shelltraywindow and it works except for some kind of windows when it opens twice and process message (Back button). Windows like the ones in VS.net tabbed environment, inside a popup menu, some toolbars. Any ideas will help a lot. Thanks. NMiceli